projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
504a2d4
)
quartz: Compare visuals for RGBA, not colormaps
author
Benjamin Otte
<otte@redhat.com>
Sun, 29 Aug 2010 00:16:27 +0000
(
02:16
+0200)
committer
Benjamin Otte
<otte@redhat.com>
Sun, 26 Sep 2010 13:11:33 +0000
(15:11 +0200)
gdk/quartz/GdkQuartzView.c
patch
|
blob
|
history
diff --git
a/gdk/quartz/GdkQuartzView.c
b/gdk/quartz/GdkQuartzView.c
index 656f8e21a890442fa2e7733d15c2ee473f73f31b..8c6132b2abc9548c22880484b6fe3a23728aa251 100644
(file)
--- a/
gdk/quartz/GdkQuartzView.c
+++ b/
gdk/quartz/GdkQuartzView.c
@@
-61,8
+61,8
@@
if (GDK_WINDOW_DESTROYED (gdk_window))
return YES;
- /* A view is opaque if its GdkWindow doesn't have the RGBA
colormap
*/
- return gdk_
drawable_get_colormap (gdk_window) != gdk_screen_get_rgba_colormap
(_gdk_screen);
+ /* A view is opaque if its GdkWindow doesn't have the RGBA
visual
*/
+ return gdk_
window_get_visual (gdk_window) != gdk_screen_get_rgba_visual
(_gdk_screen);
}
-(void)drawRect:(NSRect)rect